Class ApiDisabledResource

java.lang.Object
org.dogtagpki.server.rest.v1.ApiDisabledResource

@Path("/") public class ApiDisabledResource extends Object
Catch-all resource that returns a clean error message when v1 API is disabled. This is registered as the only resource when API status is disabled.
  • Field Details

    • logger

      public static final org.slf4j.Logger logger
  • Constructor Details

    • ApiDisabledResource

      public ApiDisabledResource()
  • Method Details

    • handleGet

      @GET @Path("{path:.*}") public jakarta.ws.rs.core.Response handleGet(@PathParam("path") String path)
    • handlePost

      @POST @Path("{path:.*}") public jakarta.ws.rs.core.Response handlePost(@PathParam("path") String path)
    • handlePut

      @PUT @Path("{path:.*}") public jakarta.ws.rs.core.Response handlePut(@PathParam("path") String path)
    • handleDelete

      @DELETE @Path("{path:.*}") public jakarta.ws.rs.core.Response handleDelete(@PathParam("path") String path)
    • handlePatch

      @Path("{path:.*}") public jakarta.ws.rs.core.Response handlePatch(@PathParam("path") String path)
    • handleOptions

      @OPTIONS @Path("{path:.*}") public jakarta.ws.rs.core.Response handleOptions(@PathParam("path") String path)